home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1996 June / EnigmA AMIGA RUN 08 (1996)(G.R. Edizioni)(IT)[!][issue 1996-06][EARSAN CD VII].iso / earcd / library / expnam22.lha / ExpName / expname.doc < prev    next >
Text File  |  1996-04-14  |  4KB  |  125 lines

  1. TABLE OF CONTENTS
  2.  
  3. expname.library/GetSysInfo
  4. expname.library/GetExpName
  5.  
  6. expname.library/GetSysInfo                          expname.library/GetSysInfo
  7.  
  8.    NAME
  9.         GetSysInfo - get information about the system (V2)
  10.  
  11.    SYNOPSIS
  12.         Buffer = GetSysInfo(Buffer,Type,Reserved)
  13.          D0.l                A0.l  D0.l   D1.l
  14.  
  15.         STRPTR GetSysInfo(STRPTR,ULONG,ULONG);
  16.  
  17.    FUNCTION
  18.         Gets information about the current system environment. This function
  19.         is fully DraCo compatible!
  20.  
  21.    INPUTS
  22.         Buffer        -- String to be filled with the information string. Must
  23.                          be at least 50 chars long (including termination).
  24.  
  25.         Type          -- Information type. These types are known in V2:
  26.  
  27.                 EXPTYPE_SYSTEM  -- What system is used?
  28.                                    ("Amiga","DraCo")
  29.  
  30.                 EXPTYPE_CPU     -- What kind of CPU is available?
  31.                                    (68000,68010,68020,...68060)
  32.  
  33.                 EXPTYPE_FPU     -- What kind of FPU is available?
  34.                                    (---,68881,68882,68040,68060)
  35.  
  36.                 EXPTYPE_MMU     -- What kind of MMU is available?
  37.                                    (---,68852,68030,68040,68060)
  38.  
  39.                 EXPTYPE_OSVER   -- What OS version is used?
  40.                                    (e.g. "V39.106")
  41.  
  42.                 EXPTYPE_EXECVER -- What exec version is used?
  43.                                    (e.g. "V39.47")
  44.  
  45.                 EXPTYPE_WBVER   -- What WorkBench version is used?
  46.                                    (e.g. "V39.29", "---" if not available)
  47.  
  48.                 EXPTYPE_ROMSIZE -- Size of AmigaOS ROM
  49.                                    (e.g. "512KB")
  50.  
  51.                 EXPTYPE_CHIPSET -- What Chipset is available?
  52.                                    (e.g. "ECS","AGA","DraCo")
  53.  
  54.                 EXPTYPE_GFXSYS  -- What Graphic Board System is used?
  55.                                    (e.g. "CyberGraphX")
  56.  
  57.                 EXPTYPE_CHIPRAM -- Size of complete Chip RAM
  58.                                    (e.g. "~2MB")
  59.  
  60.                 EXPTYPE_FASTRAM -- Size of complete Fast RAM
  61.                                    (e.g. "12MB")
  62.  
  63.                 EXPTYPE_RAM     -- Size of complete System RAM
  64.                                    (e.g. "~14MB")
  65.  
  66.         Reserved      -- Reserved for future use, always provide 0 here!
  67.  
  68.    RESULT
  69.         Buffer        -- Pointer to the provided buffer if everything
  70.                 went fine, NULL otherwise.
  71.  
  72.    NOTE
  73.         This call is guaranteed to preserve all registers except D0.
  74.  
  75.    BUGS
  76.  
  77.    SEE ALSO
  78.  
  79. expname.library/GetExpName                          expname.library/GetExpName
  80.  
  81.    NAME
  82.         GetExpName - get name of expansion board
  83.  
  84.    SYNOPSIS
  85.         Success = GetExpName(ManufName,ProdName,ConfigDev,Manufacturer,Product)
  86.           D0.l                  A0.l     A1.l      A2.l      D0.w       D1.b
  87.  
  88.         ULONG GetExpName(STRPTR,STRPTR,struct ConfigDev*,UWORD,UBYTE);
  89.  
  90.    FUNCTION
  91.         Gets the name of the expansion and it's manufacturer.
  92.  
  93.    INPUTS
  94.         ManufName     -- String to be filled with the manufacturer name. Must
  95.                          be at least 50 chars long.
  96.         ProdName      -- String to be filled with the product name. Must be
  97.                          at least 50 chars long.
  98.         ConfigDev     -- Pointer to ConfigDev structure (from expansion.library)
  99.                          or NULL.
  100.         Manufacturer  -- ID of the board's manufacturer, if ConfigDev is NULL.
  101.         Product       -- ID of the board's product number (depends on manufactu-
  102.                          rer), if ConfigDev is NULL.
  103.  
  104.    RESULT
  105.         Success       -- True if both manufacturer and product are known. False
  106.                          if one of them was not known.
  107.  
  108.    NOTE
  109.         If the manufacturer or the product is not known, the string will be
  110.         filled with its number. I.e. it is NOT a real fault if this function
  111.         fails; the strings can be used in any case...
  112.  
  113.         If you provide a ConfigDev structure, expname.library may in some
  114.         cases find out the name of a board even if it is not implemented.
  115.  
  116.         This call is guaranteed to preserve all registers except D0.
  117.  
  118.    BUGS
  119.         There are by far not all existing boards implemented. Please send
  120.         the manufacturer id and name and the products id and name of all
  121.         unknown boards to me. My E-Mail: "rkoerber@tfh.dssd.sub.org".
  122.  
  123.    SEE ALSO
  124.  
  125.